/* SMARTPHONES */
@media (min-width: 0px) and (max-width: 576px) {
  img.credito-cipanel-alargada {
    height: 400%; /* Ajusta este valor según la cantidad de alargamiento que desees */
    object-fit: cover; /* Para asegurarte de que la imagen se ajuste correctamente */
  }
  .dropdown-content {
    min-width: 150px;
  }
  .checkbox-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .checkbox-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .checkbox-container .checkbox-item:nth-child(7),
  .checkbox-container .checkbox-item:nth-child(8) {
    grid-column: span 1;
  }
  .dropdown-content {
    min-width: 150px;
  }
  .table-container {
    padding: 10px;
  }
  .table-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .table-cell {
    text-align: left;
  }
  .banner-home {
    margin: 29px 0 0 -2px;
  }
  .buttons {
    flex-direction: row;
    justify-content: space-between;
  }

  button {
    margin-bottom: 0;
    width: 48%;
  }
  .tabla-container {
    width: 100%;
    padding: 5px;
  }

  .fila {
    padding: 8px;
  }

  .numero {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }

  .detalle {
    font-size: 12px;
  }
  .download-button {
    width: 100%;
  }
  .container {
    width: 90%;
  }
  select {
    width: 100%;
    margin-bottom: 10px;
    margin: 0 -19px 0 -11px;
  }
  button {
    width: 100%;
  }
  .responsive-table thead {
    display: none;
  }
  .responsive-table,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table tr {
    margin-bottom: 15px;
  }

  .responsive-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .responsive-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 45%;
    padding-left: 15px;
    font-weight: bold;
    text-align: left;
  }

  .cost-cell {
    text-align: left;
  }
  .banner-finanmadrid {
    background-image: none;
    background-color: #dc281e; /* Fondo rojo solo en dispositivos móviles */
  }
  .bento-box-grid {
    column-count: inherit;
  }
  .lic-manuel {
    width: 267px;
    height: 282px;
    margin: -22px -5px 9px -7px;
  }
  .titulo-lic {
    font-size: 25px;
  }
  .inversionestitle {
    font-size: 31px;
  }
  .contendios-cifondo {
    margin: -181px 0 0 0;
  }
  .ciusd {
    margin: 0 0 0 -10px !important;
  }
  .banner-difuminado {
    background-image: url('../../../images/contenedor-formulario-v2.png');
    background-position: cover;
    min-height: 500px;
    background-repeat: no-repeat;
  }
  .card-financiero-inver {
    height: 51px;
    padding: 9px 11px 28px 18px;
    width: 390px;
    margin: 16px 0 0 -75px;
  }

  .fincos-gingump {
    height: 51px;
    padding: 9px 11px 28px 18px;
    width: 390px;
    margin: 16px 0 0 -75px;
    font-size: 12px;
  }
  a.btn-fondo {
    margin: -1px 0 0 0 !important;
  }
  .textt-title-economico {
    margin: 16px 0 0 -15px !important;
    font-size: 42px;
  }
  .banner-financiero banner-home {
    margin: 20px 15px 9px 13px !important;
  }
  .comunicates-nostros-1 {
    margin: 0 0 0 38px !important;
  }
  .comuniquese-subtitle {
    margin: 3px 0 0 -17px !important;
  }
  .btn-inver {
    margin: -17px 0 0 0 !important;
  }
  .busca {
    margin: 79px 2px 0 -142px !important;
  }
  .info-card {
    width: 100%;
  }

  #banner-financiero {
    margin-left: -21px !important;
  }
  .dropdown-menu,
  .dropdw-menue {
    padding: 5px 10px !important;
    width: 90vh;
  }
  .perfil-inversion {
    margin: 12px 0 0 0 important;
  }
  .contenido-perfil {
    margin: -94px 0 0 0 !important;
  }
  .custom-table1 {
    width: 100% !important;
    margin: 0 0 0 -52px !important;
  }
  .text-estrategias-contenido {
    margin: 1px 0 0 0 !important;
  }
}

/* TABLETS */
@media (min-width: 577px) and (max-width: 768px) {
  .header-textos-credito-pensionados {
    position: absolute;
    top: 150px;
    left: 30px;
    right: 0px;
    margin: 0 auto;
    width: 20px;
    height: 270px;
    width: 570px;
    color: #000000;
    font-size: 14px;
  }
  .credito-pensionados-casabolsa-title {
    font-weight: 400;
    width: 340px;
    font-family: 'Montserrat', sans-serif, Arial;
    color: #000000 !important;
    font-size: 24px;
  }
  .sec_header_ .text-section {
    text-align: center !important;
    margin: -110px 39px 0 8px!important;
    font-size: 33px!important;
    color: #dc281e;
    font-size: 31px;
}
  .credito-cipanel-header-textos {
    position: absolute;
    top: 150px;
    left: 30px;
    right: 0px;
    margin: 0 auto;
    width: 20px;
    height: 270px;
    width: 570px;
    color: #010101;
    font-size: 14px;
  }
  .credito-cipanel-subheader {
    font-family: 'Montserrat', arial, sans-serif;
    font-size: 20px;
    color: #101010;
    margin-top: 50px;
    margin-bottom: 3px;
  }
  .credito-cipanel-title {
    font-weight: 300;
    width: 340px;
    font-family: 'Montserrat', sans-serif, Arial;
    color: #000000 !important;
    font-size: 24px;
  }
  .credito-cipanel-imgfixed {
    width: 60%;
    margin: -50px 0px 0px 100px;
    height: auto;
    float: inherit;
  }
  .credito-cipanel-imgfixed2 {
    width: 100%;
    margin-bottom: 0%;
    margin-left: 0%;
    height: auto;
    float: inherit;
  }
  .credito-cipanel-pharagfxd {
    margin-left: 0%;
    margin-bottom: 24%;
    margin-top: -11%;
    margin-right: 2%;
  }
  .credito-cipanel-pharagfxd1 {
    margin-left: 0%;
    margin-bottom: 0%;
    margin-top: -11%;
    margin-right: 0%;
  }
  .credito-cipanel-imgfixed3 {
    width: 100%;
    margin-bottom: -20%;
    margin-left: 0%;
    height: auto;
    float: inherit;
  }
  .credito-cipanel-container-fluid {
    width: 90%;
    margin: 115px 0px 0px 25px;
  }
  .cicashclasica-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .cicashstudent-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .cicashplatinum-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .cicashclasica-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .divisas-amonedados-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .cicash-pink-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .seguro-auto-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  #banner-financiero {
    margin-left: 20px;
  }
  .checkbox-item:nth-child(7),
  .checkbox-item:nth-child(8) {
    flex: 1 1 50%;
    max-width: 50%;
  }
  img.credito-semi-alargada {
    height: 400%; /* Ajusta este valor según la cantidad de alargamiento que desees */
    object-fit: cover; /* Para asegurarte de que la imagen se ajuste correctamente */
  }
  .credito-semi-header-textos {
    position: absolute;
    top: 150px;
    left: 30px;
    right: 0px;
    margin: 0 auto;
    width: 20px;
    height: 270px;
    width: 570px;
    color: #010101;
    font-size: 14px;
  }
  .credito-semi-subheader {
    font-family: 'Montserrat', arial, sans-serif;
    font-size: 20px;
    color: #101010;
    margin-top: 50px;
    margin-bottom: 3px;
  }
  .credito-semi-title {
    font-weight: 400;
    width: 340px;
    font-family: 'montserrat';
    color: #000000 !important;
    font-size: 24px;
  }
  .credito-semi-imgfixed {
    width: 45%;
    margin: 270px 0px 0px 120px;
    height: auto;
    float: inherit;
  }
  img.credito-semi-alargada {
    height: 400%; /* Ajusta este valor según la cantidad de alargamiento que desees */
    object-fit: cover; /* Para asegurarte de que la imagen se ajuste correctamente */
  }

  .credito-semi-header-textos {
    position: absolute;
    top: 150px;
    left: 30px;
    right: 0px;
    margin: 0 auto;
    width: 20px;
    height: 270px;
    width: 570px;
    color: #010101;
    font-size: 14px;
  }
  .credito-semi-subheader {
    font-family: 'Montserrat', arial, sans-serif;
    font-size: 20px;
    color: #101010;
    margin-top: 50px;
    margin-bottom: 3px;
  }
  .credito-semi-title {
    font-weight: 400;
    width: 340px;
    font-family: 'montserrat';
    color: #000000 !important;
    font-size: 24px;
  }
  .credito-semi-imgfixed {
    width: 45%;
    margin: 270px 0px 0px 120px;
    height: auto;
    float: inherit;
  }
  img.credito-semi-alargada {
    height: 400%; /* Ajusta este valor según la cantidad de alargamiento que desees */
    object-fit: cover; /* Para asegurarte de que la imagen se ajuste correctamente */
  }
  .credito-semi-header-textos {
    position: absolute;
    top: 150px;
    left: 30px;
    right: 0px;
    margin: 0 auto;
    width: 20px;
    height: 270px;
    width: 570px;
    color: #010101;
    font-size: 14px;
  }
  .credito-semi-subheader {
    font-family: 'Montserrat', arial, sans-serif;
    font-size: 20px;
    color: #101010;
    margin-top: 50px;
    margin-bottom: 3px;
  }
  .credito-semi-title {
    font-weight: 400;
    width: 340px;
    font-family: 'montserrat';
    color: #000000 !important;
    font-size: 24px;
  }
  .credito-semi-imgfixed {
    width: 45%;
    margin: 270px 0px 0px 120px;
    height: auto;
    float: inherit;
  }
  img.credito-semi-alargada {
    height: 400%; /* Ajusta este valor según la cantidad de alargamiento que desees */
    object-fit: cover; /* Para asegurarte de que la imagen se ajuste correctamente */
  }
  .credito-semi-header-textos {
    position: absolute;
    top: 150px;
    left: 30px;
    right: 0px;
    margin: 0 auto;
    width: 20px;
    height: 270px;
    width: 570px;
    color: #010101;
    font-size: 14px;
  }
  .credito-semi-subheader {
    font-family: 'Montserrat', arial, sans-serif;
    font-size: 20px;
    color: #101010;
    margin-top: 50px;
    margin-bottom: 3px;
  }
  .credito-semi-title {
    font-weight: 400;
    width: 340px;
    font-family: 'montserrat';
    color: #000000 !important;
    font-size: 24px;
  }
  .credito-semi-imgfixed {
    width: 90%;
    margin: 400px 0px 0px 120px;
    height: auto;
    float: inherit;
  }
  .sec_estrategias_inversion_ {
    background: linear-gradient(to top, #96c610, #516911);
    color: #fff;
  }

  .sec_estrategias_inversion_ .row {
    flex-direction: column-reverse;
  }

  .sec_informacion_analisis .row {
    flex-direction: column-reverse;
  }

  .mapadesitio.fixed-top .mapadesitio-collapse,
  .mapadesitio.sticky-top .mapadesitio-collapse {
    overflow-y: auto;
    max-height: 90vh;
    margin-top: 10px;
  }
}
/* Desktop */
@media screen and (max-width: 1024px) and (min-width: 1366px) {
  .credito-cipanel-imgfixed {
    width: 45%;
    margin: 100px 0px 0px 470px;
    height: auto;
    float: inherit;
  }
  .credito-cipanel-imgfixed2 {
    width: 145%;
    margin-bottom: 0%;
    margin-left: -5%;
    height: auto;
    float: inherit;
  }
  .credito-cipanel-imgfixed3 {
    width: 170%;
    margin-bottom: -5%;
    margin-left: -30%;
    height: auto;
    float: inherit;
  }
  .credito-cipanel-pharagfxd1 {
    margin-left: 0%;
    margin-bottom: 0%;
    margin-top: -2%;
    margin-right: 0%;
  }
  .credito-cipanel-imgfixed3 {
    width: 100%;
    margin-bottom: -20%;
    margin-left: 0%;
    height: auto;
    float: inherit;
  }
  .credito-cipanel-container-fluid {
    width: 90%;
    margin: 115px 0px 0px 25px;
  }
  .credito-cipanel-imgfixed {
    width: 70%;
    margin: 0px 0px 0px 55px;
    height: auto;
    float: inherit;
  }
  .credito-cipanel-imgfixed2 {
    width: 160%;
    margin-bottom: 0%;
    margin-left: 0%;
    height: auto;
    float: inherit;
  }
  .credito-cipanel-pharagfxd {
    margin-left: 15%;
    margin-bottom: 0%;
    margin-top: -10%;
    margin-right: -20%;
  }
  .credito-cipanel-imgfixed3 {
    width: 160%;
    margin-bottom: -10%;
    margin-left: -30%;
    height: auto;
    float: inherit;
  }
  .credito-cipanel-container-fluid {
    width: 90%;
    margin: 115px 0px 0px 100px;
  }
  .cicashclasica-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .cicashstudent-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .cicashplatinum-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .cicashclasica-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .divisas-amonedados-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .cicash-pink-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .cicash-pink-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .seguro-auto-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .seguro-auto-img-fixed {
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25vh;
    width: 100%;
  }
  .credito-semi-imgfixed {
    width: 45%;
    margin: 100px 0px 0px 470px;
    height: auto;
    float: inherit;
  }
  .credito-semi-imgfixed {
    width: 45%;
    margin: 100px 0px 0px 470px;
    height: auto;
    float: inherit;
  }
  .credito-semi-imgfixed {
    width: 45%;
    margin: 100px 0px 0px 470px;
    height: auto;
    float: inherit;
  }
  .credito-semi-imgfixed {
    width: 45%;
    margin: 100px 0px 0px 470px;
    height: auto;
    float: inherit;
  }
  .credito-semi-imgfixed {
    width: 45%;
    margin: 100px 0px 0px 470px;
    height: auto;
    float: inherit;
  }
  .credito-semi-imgfixed {
    width: 45%;
    margin: 100px 0px 0px 470px;
    height: auto;
    float: inherit;
  }
  .credito-semi-imgfixed {
    width: 45%;
    margin: 100px 0px 0px 470px;
    height: auto;
    float: inherit;
  }
  .credito-semi-imgfixed {
    width: 35%;
    margin: 100px 0px 0px 600px;
    height: auto;
    float: inherit;
  }
  .mapadesitio .has-megamenu {
    position: static !important;
  }
  .mapadesitio .megamenu {
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
  }
}
